package com.psg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "look")
public class Look implements Serializable {

    /**
     *id号（1）
     */
    @TableId(value = "id" , type = IdType.AUTO)
    private Integer id;
    /**
     *浏览记录id号（555555）
     */
    private Integer lookId;
    /**
     *商品id号
     */
    private Integer productId;
    /**
     *单价
     */
    private Float lookPrice;
    /**
     *商品毛重
     */
    private Float lookWeight;

    @TableField(exist = false)
    private String img;
    @TableField(exist = false)
    private String shortName;

}
